<div class="ui-g-12 p-new-pannel ui-g-nopad">
    <p-panel headerClass="bg-none"  [showScroll]="false">
        <p-header>
            <div class="text-right p-6-0">
                <span class="border-l-1a8fe8 p-l-8 pull-left m-t-8 m-b-10">
                    {{dataPro?.name}}全部评价
                    <span class="panel-status-success">{{paramsData.type=='team'?'项目经理':'监理'}}</span>
                </span>
                <span style='height:33px;display:inline-block;width: 1px;'></span>
            </div>
        </p-header>
        <p-dataTable #dt [value]="listData" scrollable="true" [totalRecords]="totalRecords"  [lazy]="true" (onLazyLoad)="onPage($event)"
            [paginator]="true" [headerCheckboxToggleAllPages]="true" [marginHeight]="10">
            <p-column *ngFor="let col of operationsCol" [field]='col.field' [header]='col.header' [hidden]="col.hidden" [style]="{'width':col.width}">
                <ng-template let-index="rowIndex" let-data="rowData" pTemplate="body" *ngIf="col.tem">
                    <div *ngIf="col.field === 'supervisorScore'">
                        <p-rating [ngModel]='data.supervisorScore' [cancel]="false" readonly="true"></p-rating>
                    </div>
                    <div *ngIf="col.field === 'foremanScore'">
                        <p-rating [ngModel]='data.foremanScore' [cancel]="false" readonly="true"></p-rating>
                    </div>
                    <div *ngIf="col.field === 'constructionScore'">
                        <p-rating [ngModel]='data.constructionScore' [cancel]="false" readonly="true"></p-rating>
                    </div>
                    <div *ngIf="col.field === 'estimateManType'">
                        {{data.estimateManType}} &nbsp; {{data.estimateUserName}}
                    </div>
                    <div *ngIf="col.field === 'estimateTime'">
                        {{data.estimateTime | date: "yyyy-MM-dd hh:mm:ss"}}
                    </div>
                </ng-template>
            </p-column>
        </p-dataTable>
    </p-panel>
</div>
